package com.jiwei.community.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * (User)表实体类
 *
 * @author jiwei
 * @since 2024-03-15 09:42:29
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User  {
    @TableId
    private Long id;

    
    private String userName;
    
    private String password;
    
    private Integer useAge;
    
    private Integer sex;
    
    private String nickName;
    
    private String address;
    
    private String avatar;
    
    private String profile;
    
    private Integer likedNum;
    
    private Date birthday;
    
    private Integer integral;

    private Integer type;

    //0-正常;1-禁用
    private Integer status;
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;



}

